<script setup lang="ts">
const emit = defineEmits(["verify"]);
</script>

<template>
  <div
    class="bg-white absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-md shadow-md border p-6"
  >
    <div class="text-gray-500 text-sm">请完成人机验证</div>
    <div class="my-3">
      <HCaptcha @verify="(v:string)=>{emit('verify',v)}" />
    </div>
  </div>
</template>
